package com.sky.mapper;

import com.sky.entity.Setmeal;
import com.sky.entity.SetmealDish;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SetmealDishMapper {

    Integer countByDishId(List<Long> dishIds);

    List<Long> getSetmealIdsByDishIds(List<Long> dishIds);

    void inserDishtList(List<SetmealDish> setmealDishes);

    List<SetmealDish> getSetmealBySetmealId(Long setmealId);

    void deleteBySetmealId(Long id);
}